{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "2efae80f-7518-4481-9ae5-534405e003e0",
   "metadata": {},
   "source": [
    "# 笔记\n",
    "1.\t改变盘符 C:, D:, E:, F:…., \n",
    "D:<回车>\n",
    "    (base)D:\\>\n",
    "  \n",
    "2.\tC:\n",
    "\n",
    "3.\tcd<回车> - 检查当前的目录\n",
    "\n",
    "\n",
    "4.\tcd<sp>文件夹的名字\n",
    "   change directory\n",
    "d:\n",
    "cd \\work\n",
    "\n",
    "\n",
    "5.\tmake directory\n",
    "md<sp>wangfeng\n",
    "D:\\> md d:\\work\\wangfeng\\1\n",
    "\n",
    "cd d:\\work\\wangfeng\\1\n",
    "\n",
    "6.\tremove directory\n",
    "rd<sp>wangfeng\n",
    "7.\techo<sp>“I love you” > 1.txt\n",
    "8.\tdir – 列出所有的文件\n",
    "* 表示所有的组合\n",
    "\n",
    "9.\ttype<sp>文件名.扩展名\n",
    "10.\tcopy<sp> <源文件名> <目标文件名>\n",
    "copy 1.txt 2.txt\n",
    "\t\n",
    "绝对路径\n",
    "copy d:\\work\\4.dat d:\\work\\wangfeng\\1\\5.dat\n",
    "\n",
    "相对相径\n",
    "copy 4.dat .\\wangfeng\\1\\5.dat\n",
    "\n",
    " 11 del  (DELETE)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "b5b7daa7-4da3-44c7-a6b7-fe9b8c6e9222",
   "metadata": {},
   "source": [
    "# 常见git命令\n",
    "git status\n",
    "\n",
    "git add .   增加修改后文件\n",
    "\n",
    "git commit -m “”  提交文件\n",
    "\n",
    "git push"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "0a69e30f-2921-4ecc-8aff-237d7f726c29",
   "metadata": {},
   "source": [
    "# python的变量名规则\n",
    "变量名必须以字母或下划线开头\n",
    "\n",
    "变量名不能以数字开头\n",
    "\n",
    "变量名只能包含字母、数字或下划线"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "51ba2eeb-efac-4c28-8fb1-6f74342e7bd2",
   "metadata": {},
   "source": [
    "# 变量类型\n",
    "整数（int）\n",
    "\n",
    "浮点数（float）\n",
    "\n",
    "字符串（str）\n",
    "\n",
    "布尔值（bool）\n",
    "\n",
    "列表（list）\n",
    "\n",
    "元组（tuple）\n",
    "\n",
    "字典（dict）\n",
    "\n",
    "集合（set）"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9313431d-ae49-4654-854f-90428db2b14c",
   "metadata": {},
   "source": [
    "# 常用的运算符\n",
    "+加法 -减法 *乘法 /除法\n",
    "\n",
    "//整除 % 取余 **幂运算\n",
    "\n",
    "and逻辑与（全为真则真）\n",
    "\n",
    "or逻辑或（有一真则真）\n",
    "\n",
    "not逻辑非（取反）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "20567996-be9a-4d40-9c4f-bee6c6fa6ba1",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
